<div class="page-root">
  <div class="login-title">数据管理平台</div>
  <form nz-form [formGroup]="validateForm" class="login-form" (ngSubmit)="submitForm()">
    <nz-form-item>
      <nz-form-control nzErrorTip="手机号不能为空">
        <nz-input-group nzPrefixIcon="user">
          <input type="text" nz-input formControlName="mobile" placeholder="请输入手机号"/>
        </nz-input-group>
      </nz-form-control>
    </nz-form-item>
    <nz-form-item>
      <nz-form-control nzErrorTip="密码不能为空">
        <nz-input-group nzPrefixIcon="lock">
          <input type="password" nz-input formControlName="pwd" placeholder="请输入密码"/>
        </nz-input-group>
      </nz-form-control>
    </nz-form-item>
    <div nz-row class="login-form-margin">
      <div nz-col [nzSpan]="12">
        <label nz-checkbox formControlName="rem">
          <span>记住账号</span>
        </label>
      </div>
      <div nz-col [nzSpan]="12">
        <a class="login-form-forgot" (click)="forgetPwd()">忘记密码?</a>
      </div>
    </div>
    <button nz-button class="login-form-button login-form-margin" [nzType]="'primary'" [nzLoading]="showLoading">登录</button>
<!--    Or-->
<!--    <a>register now!</a>-->
  </form>
</div>
